﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using WoBian.Entities.Interface;
using System.Runtime.Serialization;

namespace WoBian.Entities
{
    [Serializable]
    public class DbClass:IDbClass
    {
        /// <summary>
        /// 创建人ID
        /// </summary>
        [DataMember]
        public string CreateId { get; set; }

        /// <summary>
        /// 创建日期
        /// </summary>
        [DataMember]
        public DateTime? CreateDate { get; set; }

        /// <summary>
        /// 更新人ID
        /// </summary>
        [DataMember]
        public string UpdateId { get; set; }

        /// <summary>
        /// 更新日期
        /// </summary>
        [DataMember]
        public DateTime? UpdateDate { get; set; }

        #region 属性索引
        public const string CREATEID = "CREATEID";
        public const string CREATEDATE = "CREATEDATE";
        public const string UPDATEID = "UPDATEID";
        public const string UPDATEDATE = "UPDATEDATE";
        #endregion
    }
}
